package com.imjohn.service;

import com.imjohn.entity.CommentReply;
import com.imjohn.mapper.CommentReplyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class CommentReplyService {
    @Autowired
    CommentReplyMapper commentReplyMapper;
    public int AddCommentReply( CommentReply commentReply ) {
        return commentReplyMapper.AddCommentReply(commentReply);
    }
    public List<HashMap> queryCommentReply( int id) {
        return commentReplyMapper.queryCommentReply(id);
    }

}
